using System;
using System.Collections.Generic;
using System.Text;

namespace IGlobalist.Cms.Model
{
    [Serializable]
    public class ResourceFolder: CmsObject, IResourceFolder
    {
        private ResourceFolderList _SubFolderList;

        public ResourceFolderList SubFolderList
        {
            get { return _SubFolderList; }
            set { _SubFolderList = value; }
        }

        private ResourceFileList _FileList;

        public ResourceFileList FileList
        {
            get { return _FileList; }
            set { _FileList = value; }
        }

        #region IResourse Members

        public ResourceType Type
        {
            get { return ResourceType.Folder; }
            set {  }
        }

        #endregion

        #region IXml Members

        public bool FromXml(string xml)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public string ToXmlString()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion

        #region ICmsObject Members


        public bool FromCmsObject(CmsObject obj)
        {
            return base.FromCmsObject(obj);
        }

        #endregion
    }
}
